<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link type="text/css" rel="stylesheet" href="pub/css/workspace.css"/>
        <title><?php echo $this->title; ?></title>
    </head>
    <body>
        <script type="text/javascript" src="pub/jsun/core.js"></script>
        <div id="Main">
            <div id="Head"><h1>Библиотека</h1></div>
            <div id="Menu">
                <div id="MenuList">
                    <ul>
                        <li id="MenuMain"><a href="?p=Index\Main">Главная</a></li>
                        <li id="MenuCatalog"><a href="?p=Index\Catalog">Каталог</a></li>
                        <li id="MenuSearch"><a href="?p=Index\Search">Поиск</a></li>
                        <li id="MenuEnter"><a href="?p=Index\Enter">
                            <?php \Sun\Sun::view("Session\\User")->Render(); ?></a></li>
                    </ul>
                </div>
                <div id="Logout"><?php \Sun\Sun::view("Session\\Logout")->Render(); ?></div>
                <input id="Page" type="hidden" value="<?php echo $this->tab; ?>"/>
            </div>
            <div id="Body">
                <script type="text/javascript">jsun.page.client = jsun("#Body");</script>
                <?php $this->BodyScene(); ?>
            </div>
            <script type="text/javascript">
                jsun("#" + jsun("#Page").value).setAttribute("class", "selected");
            </script>
            <div id="Foot">АБИС библиотекиа ВУЗа</div>
        </div>
    </body>
</html>
